#ifndef _Number_h_
#define _Number_h_
#include<windows.h>
#include<d3d9.h>
#include<d3dx9.h>
#include"Sprite.h"
class CNumber
{
	int x;
	int y;
	int scores;
	CSprite *number;
	LPDIRECT3DTEXTURE9 image;
	int timeplay;
	int time[3];
	int score[6];
	int coins[2];
public:
	CNumber();
	~CNumber();
	void LoadResources(LPDIRECT3DDEVICE9 d3ddv);
	LPDIRECT3DTEXTURE9 GetImage(LPDIRECT3DDEVICE9 d3ddv,LPWSTR filename);
	void Render(LPD3DXSPRITE sprite,int timeplay,int score,int coins,int stage);
	void RenderIntro(LPD3DXSPRITE sprite,int stage,int life);
};
#endif